package com.yunji.storage.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.storage.dto
 * @Title: StorageTicketDTO
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-08-17 16:06:08      V1.0        HuaAo       新建类
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class StorageTicketDTO {

    @ApiModelProperty("单据ID")
    private Long ticketId;

    @ApiModelProperty("单据Code")
    private String ticketCode;

    @ApiModelProperty(value = "所属单位", required = true)
    private Long belongId;

    @ApiModelProperty("业务单ID")
    private Long businessId;

    @ApiModelProperty("0-无 1-调拨单 2-坏返单 3-维修单 4-盘点单 5-生产单 6-采购单 7-退货单 8-废品单 9-其他 ")
    private Integer businessType;

    @ApiModelProperty("业务单号")
    private String businessCode;

    @ApiModelProperty("出入库状态 1-带出入库 2-已出入库 3-部分出入库 4-已取消")
    private Integer storageStatus;

    @ApiModelProperty("入库时间/操作时间")
    private String operateTime;

    @ApiModelProperty(value = "出入库类型 1-入库 2-出库", required = true)
    private Integer storageType;

    @ApiModelProperty(value = "出入库单记录", required = true)
    private List<StorageRecordsDTO> recordList;

    @ApiModelProperty("附件（照片）")
    private String albumPics;

    @ApiModelProperty(value = "是否可删除 0-否 1-是", required = true)
    private Integer deletable;

    @ApiModelProperty("入库备注")
    private String remark;

}